﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="CompnySubs" targetNamespace="http://tempuri.org/CompnySubs.xsd" xmlns:mstns="http://tempuri.org/CompnySubs.xsd" xmlns="http://tempuri.org/CompnySubs.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.ConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="getCompSubInfoTableAdapter" GeneratorDataComponentClassName="getCompSubInfoTableAdapter" Name="getCompSubInfo" UserDataComponentName="getCompSubInfoTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ConnectionString (Web.config)" DbObjectName="Periodical.Ragami.getCompSubInfo" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>Ragami.getCompSubInfo</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@id" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@coid" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="product" DataSetColumn="product" />
              <Mapping SourceColumn="productdesc" DataSetColumn="productdesc" />
              <Mapping SourceColumn="classification_id" DataSetColumn="classification_id" />
              <Mapping SourceColumn="freq_id" DataSetColumn="freq_id" />
              <Mapping SourceColumn="issn" DataSetColumn="issn" />
              <Mapping SourceColumn="product_type_id" DataSetColumn="product_type_id" />
              <Mapping SourceColumn="puplisher_id" DataSetColumn="puplisher_id" />
              <Mapping SourceColumn="auther1" DataSetColumn="auther1" />
              <Mapping SourceColumn="auther2" DataSetColumn="auther2" />
              <Mapping SourceColumn="topic" DataSetColumn="topic" />
              <Mapping SourceColumn="publisher" DataSetColumn="publisher" />
              <Mapping SourceColumn="dwoy" DataSetColumn="dwoy" />
              <Mapping SourceColumn="lc" DataSetColumn="lc" />
              <Mapping SourceColumn="id1" DataSetColumn="id1" />
              <Mapping SourceColumn="company_id" DataSetColumn="company_id" />
              <Mapping SourceColumn="product_id" DataSetColumn="product_id" />
              <Mapping SourceColumn="copyno" DataSetColumn="copyno" />
              <Mapping SourceColumn="copyprice" DataSetColumn="copyprice" />
              <Mapping SourceColumn="distributer_id" DataSetColumn="distributer_id" />
              <Mapping SourceColumn="startdate" DataSetColumn="startdate" />
              <Mapping SourceColumn="enddate" DataSetColumn="enddate" />
              <Mapping SourceColumn="company_product_id" DataSetColumn="company_product_id" />
              <Mapping SourceColumn="freq_id1" DataSetColumn="freq_id1" />
              <Mapping SourceColumn="publisher_id" DataSetColumn="publisher_id" />
              <Mapping SourceColumn="mysub" DataSetColumn="mysub" />
              <Mapping SourceColumn="id2" DataSetColumn="id2" />
              <Mapping SourceColumn="freq" DataSetColumn="freq" />
              <Mapping SourceColumn="nodays" DataSetColumn="nodays" />
              <Mapping SourceColumn="type" DataSetColumn="type" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="getstats2TableAdapter" GeneratorDataComponentClassName="getstats2TableAdapter" Name="getstats2" UserDataComponentName="getstats2TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ConnectionString (Web.config)" DbObjectName="Periodical.Ragami.getstats2" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>Ragami.getstats2</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@id" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="company_product_id" DataSetColumn="company_product_id" />
              <Mapping SourceColumn="delivered" DataSetColumn="delivered" />
              <Mapping SourceColumn="received" DataSetColumn="received" />
              <Mapping SourceColumn="total" DataSetColumn="total" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="CompnySubs" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="CompnySubs" msprop:Generator_DataSetName="CompnySubs">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="getCompSubInfo" msprop:Generator_UserTableName="getCompSubInfo" msprop:Generator_RowDeletedName="getCompSubInfoRowDeleted" msprop:Generator_RowChangedName="getCompSubInfoRowChanged" msprop:Generator_RowClassName="getCompSubInfoRow" msprop:Generator_RowChangingName="getCompSubInfoRowChanging" msprop:Generator_RowEvArgName="getCompSubInfoRowChangeEvent" msprop:Generator_RowEvHandlerName="getCompSubInfoRowChangeEventHandler" msprop:Generator_TableClassName="getCompSubInfoDataTable" msprop:Generator_TableVarName="tablegetCompSubInfo" msprop:Generator_RowDeletingName="getCompSubInfoRowDeleting" msprop:Generator_TablePropName="getCompSubInfo">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" type="xs:long" />
              <xs:element name="product" msprop:Generator_UserColumnName="product" msprop:Generator_ColumnVarNameInTable="columnproduct" msprop:Generator_ColumnPropNameInRow="product" msprop:Generator_ColumnPropNameInTable="productColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="productdesc" msprop:Generator_UserColumnName="productdesc" msprop:Generator_ColumnVarNameInTable="columnproductdesc" msprop:Generator_ColumnPropNameInRow="productdesc" msprop:Generator_ColumnPropNameInTable="productdescColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="classification_id" msprop:Generator_UserColumnName="classification_id" msprop:Generator_ColumnVarNameInTable="columnclassification_id" msprop:Generator_ColumnPropNameInRow="classification_id" msprop:Generator_ColumnPropNameInTable="classification_idColumn" type="xs:int" minOccurs="0" />
              <xs:element name="freq_id" msprop:Generator_UserColumnName="freq_id" msprop:Generator_ColumnVarNameInTable="columnfreq_id" msprop:Generator_ColumnPropNameInRow="freq_id" msprop:Generator_ColumnPropNameInTable="freq_idColumn" type="xs:int" minOccurs="0" />
              <xs:element name="issn" msprop:Generator_UserColumnName="issn" msprop:Generator_ColumnVarNameInTable="columnissn" msprop:Generator_ColumnPropNameInRow="issn" msprop:Generator_ColumnPropNameInTable="issnColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="120" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="product_type_id" msprop:Generator_UserColumnName="product_type_id" msprop:Generator_ColumnVarNameInTable="columnproduct_type_id" msprop:Generator_ColumnPropNameInRow="product_type_id" msprop:Generator_ColumnPropNameInTable="product_type_idColumn" type="xs:int" minOccurs="0" />
              <xs:element name="puplisher_id" msprop:Generator_UserColumnName="puplisher_id" msprop:Generator_ColumnVarNameInTable="columnpuplisher_id" msprop:Generator_ColumnPropNameInRow="puplisher_id" msprop:Generator_ColumnPropNameInTable="puplisher_idColumn" type="xs:int" minOccurs="0" />
              <xs:element name="auther1" msprop:Generator_UserColumnName="auther1" msprop:Generator_ColumnVarNameInTable="columnauther1" msprop:Generator_ColumnPropNameInRow="auther1" msprop:Generator_ColumnPropNameInTable="auther1Column" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="150" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="auther2" msprop:Generator_UserColumnName="auther2" msprop:Generator_ColumnVarNameInTable="columnauther2" msprop:Generator_ColumnPropNameInRow="auther2" msprop:Generator_ColumnPropNameInTable="auther2Column" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="150" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="topic" msprop:Generator_UserColumnName="topic" msprop:Generator_ColumnVarNameInTable="columntopic" msprop:Generator_ColumnPropNameInRow="topic" msprop:Generator_ColumnPropNameInTable="topicColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="publisher" msprop:Generator_UserColumnName="publisher" msprop:Generator_ColumnVarNameInTable="columnpublisher" msprop:Generator_ColumnPropNameInRow="publisher" msprop:Generator_ColumnPropNameInTable="publisherColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dwoy" msprop:Generator_UserColumnName="dwoy" msprop:Generator_ColumnVarNameInTable="columndwoy" msprop:Generator_ColumnPropNameInRow="dwoy" msprop:Generator_ColumnPropNameInTable="dwoyColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="150" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lc" msprop:Generator_UserColumnName="lc" msprop:Generator_ColumnVarNameInTable="columnlc" msprop:Generator_ColumnPropNameInRow="lc" msprop:Generator_ColumnPropNameInTable="lcColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="150" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id1" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="id1" msprop:Generator_ColumnVarNameInTable="columnid1" msprop:Generator_ColumnPropNameInRow="id1" msprop:Generator_ColumnPropNameInTable="id1Column" type="xs:long" />
              <xs:element name="company_id" msprop:Generator_UserColumnName="company_id" msprop:Generator_ColumnVarNameInTable="columncompany_id" msprop:Generator_ColumnPropNameInRow="company_id" msprop:Generator_ColumnPropNameInTable="company_idColumn" type="xs:int" />
              <xs:element name="product_id" msprop:Generator_UserColumnName="product_id" msprop:Generator_ColumnVarNameInTable="columnproduct_id" msprop:Generator_ColumnPropNameInRow="product_id" msprop:Generator_ColumnPropNameInTable="product_idColumn" type="xs:long" />
              <xs:element name="copyno" msprop:Generator_UserColumnName="copyno" msprop:Generator_ColumnVarNameInTable="columncopyno" msprop:Generator_ColumnPropNameInRow="copyno" msprop:Generator_ColumnPropNameInTable="copynoColumn" type="xs:int" minOccurs="0" />
              <xs:element name="copyprice" msprop:Generator_UserColumnName="copyprice" msprop:Generator_ColumnVarNameInTable="columncopyprice" msprop:Generator_ColumnPropNameInRow="copyprice" msprop:Generator_ColumnPropNameInTable="copypriceColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="distributer_id" msprop:Generator_UserColumnName="distributer_id" msprop:Generator_ColumnVarNameInTable="columndistributer_id" msprop:Generator_ColumnPropNameInRow="distributer_id" msprop:Generator_ColumnPropNameInTable="distributer_idColumn" type="xs:int" />
              <xs:element name="startdate" msprop:Generator_UserColumnName="startdate" msprop:Generator_ColumnVarNameInTable="columnstartdate" msprop:Generator_ColumnPropNameInRow="startdate" msprop:Generator_ColumnPropNameInTable="startdateColumn" type="xs:dateTime" />
              <xs:element name="enddate" msprop:Generator_UserColumnName="enddate" msprop:Generator_ColumnVarNameInTable="columnenddate" msprop:Generator_ColumnPropNameInRow="enddate" msprop:Generator_ColumnPropNameInTable="enddateColumn" type="xs:dateTime" />
              <xs:element name="company_product_id" msprop:Generator_UserColumnName="company_product_id" msprop:Generator_ColumnVarNameInTable="columncompany_product_id" msprop:Generator_ColumnPropNameInRow="company_product_id" msprop:Generator_ColumnPropNameInTable="company_product_idColumn" type="xs:long" />
              <xs:element name="freq_id1" msprop:Generator_UserColumnName="freq_id1" msprop:Generator_ColumnVarNameInTable="columnfreq_id1" msprop:Generator_ColumnPropNameInRow="freq_id1" msprop:Generator_ColumnPropNameInTable="freq_id1Column" type="xs:int" minOccurs="0" />
              <xs:element name="publisher_id" msprop:Generator_UserColumnName="publisher_id" msprop:Generator_ColumnVarNameInTable="columnpublisher_id" msprop:Generator_ColumnPropNameInRow="publisher_id" msprop:Generator_ColumnPropNameInTable="publisher_idColumn" type="xs:int" minOccurs="0" />
              <xs:element name="mysub" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="mysub" msprop:Generator_ColumnVarNameInTable="columnmysub" msprop:Generator_ColumnPropNameInRow="mysub" msprop:Generator_ColumnPropNameInTable="mysubColumn" type="xs:long" />
              <xs:element name="id2" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="id2" msprop:Generator_ColumnVarNameInTable="columnid2" msprop:Generator_ColumnPropNameInRow="id2" msprop:Generator_ColumnPropNameInTable="id2Column" type="xs:int" />
              <xs:element name="freq" msprop:Generator_UserColumnName="freq" msprop:Generator_ColumnVarNameInTable="columnfreq" msprop:Generator_ColumnPropNameInRow="freq" msprop:Generator_ColumnPropNameInTable="freqColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nodays" msprop:Generator_UserColumnName="nodays" msprop:Generator_ColumnVarNameInTable="columnnodays" msprop:Generator_ColumnPropNameInRow="nodays" msprop:Generator_ColumnPropNameInTable="nodaysColumn" type="xs:int" />
              <xs:element name="type" msprop:Generator_UserColumnName="type" msprop:Generator_ColumnVarNameInTable="columntype" msprop:Generator_ColumnPropNameInRow="type" msprop:Generator_ColumnPropNameInTable="typeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="getstats2" msprop:Generator_UserTableName="getstats2" msprop:Generator_RowDeletedName="getstats2RowDeleted" msprop:Generator_TableClassName="getstats2DataTable" msprop:Generator_RowChangedName="getstats2RowChanged" msprop:Generator_RowClassName="getstats2Row" msprop:Generator_RowChangingName="getstats2RowChanging" msprop:Generator_RowEvArgName="getstats2RowChangeEvent" msprop:Generator_RowEvHandlerName="getstats2RowChangeEventHandler" msprop:Generator_TablePropName="getstats2" msprop:Generator_TableVarName="tablegetstats2" msprop:Generator_RowDeletingName="getstats2RowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="company_product_id" msdata:ReadOnly="true" msprop:Generator_UserColumnName="company_product_id" msprop:Generator_ColumnPropNameInRow="company_product_id" msprop:Generator_ColumnVarNameInTable="columncompany_product_id" msprop:Generator_ColumnPropNameInTable="company_product_idColumn" type="xs:long" minOccurs="0" />
              <xs:element name="delivered" msdata:ReadOnly="true" msprop:Generator_UserColumnName="delivered" msprop:Generator_ColumnPropNameInRow="delivered" msprop:Generator_ColumnVarNameInTable="columndelivered" msprop:Generator_ColumnPropNameInTable="deliveredColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="received" msdata:ReadOnly="true" msprop:Generator_UserColumnName="received" msprop:Generator_ColumnPropNameInRow="received" msprop:Generator_ColumnVarNameInTable="columnreceived" msprop:Generator_ColumnPropNameInTable="receivedColumn" type="xs:int" minOccurs="0" />
              <xs:element name="total" msdata:ReadOnly="true" msprop:Generator_UserColumnName="total" msprop:Generator_ColumnPropNameInRow="total" msprop:Generator_ColumnVarNameInTable="columntotal" msprop:Generator_ColumnPropNameInTable="totalColumn" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:getCompSubInfo" />
      <xs:field xpath="mstns:id" />
      <xs:field xpath="mstns:id1" />
      <xs:field xpath="mstns:mysub" />
      <xs:field xpath="mstns:id2" />
    </xs:unique>
  </xs:element>
</xs:schema>